package com.iot.enums;

public enum StatusEnum {

    /**
     * 删除
     */
    DELETE(0, "删除"),

    /**
     * 有效
     */
    VALID(1, "有效"),

    ;

    private int key;
    private String value;

    StatusEnum(int key, String value) {
        this.key = key;
        this.value = value;
    }

    public int getKey() {
        return key;
    }

    public String getValue() {
        return value;
    }
}
